package com.yzt.log.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yzt.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Y
 * @since 2020-12-14
 */
@TableName("sys_log")
@ApiModel(value="SysLog对象", description="")
public class SysLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "日志：访问IP")
    @TableField("ip")
    private String ip;

    @ApiModelProperty(value = "日志：方法名")
    @TableField("method")
    private String method;

    @ApiModelProperty(value = "日志：参数")
    @TableField("param")
    private String param;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    @Override
    public String toString() {
        return "SysLog{" +
            "ip=" + ip +
            ", method=" + method +
            ", param=" + param +
        "}";
    }
}
